package com.common;

import org.springframework.core.convert.converter.Converter;
import org.springframework.data.domain.Slice;

/**
 * Created by sola on 2018/1/28.
 */
@Deprecated
public interface MyPage<T> extends Slice<T> {
    int getTotalPages();

    long getTotalElements();

    @Override
    <S> MyPage<S> map(Converter<? super T, ? extends S> var1);
}
